package entity.orderEntity;

import java.math.BigDecimal;
import java.util.Date;

public class ReturnService {
    private Integer return_id;

    private Integer apply_state;

    private Integer order_id;

    private Date apply_time;

    private Integer return_type_id;

    private String description;

    private String pic;

    private BigDecimal confirm_amount;

    private Integer receive_address_id;

    public Integer getReturn_id() {
        return return_id;
    }

    public void setReturn_id(Integer return_id) {
        this.return_id = return_id;
    }

    public Integer getApply_state() {
        return apply_state;
    }

    public void setApply_state(Integer apply_state) {
        this.apply_state = apply_state;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Date getApply_time() {
        return apply_time;
    }

    public void setApply_time(Date apply_time) {
        this.apply_time = apply_time;
    }

    public Integer getReturn_type_id() {
        return return_type_id;
    }

    public void setReturn_type_id(Integer return_type_id) {
        this.return_type_id = return_type_id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public BigDecimal getConfirm_amount() {
        return confirm_amount;
    }

    public void setConfirm_amount(BigDecimal confirm_amount) {
        this.confirm_amount = confirm_amount;
    }

    public Integer getReceive_address_id() {
        return receive_address_id;
    }

    public void setReceive_address_id(Integer receive_address_id) {
        this.receive_address_id = receive_address_id;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", return_id=").append(return_id);
        sb.append(", apply_state=").append(apply_state);
        sb.append(", order_id=").append(order_id);
        sb.append(", apply_time=").append(apply_time);
        sb.append(", return_type_id=").append(return_type_id);
        sb.append(", description=").append(description);
        sb.append(", pic=").append(pic);
        sb.append(", confirm_amount=").append(confirm_amount);
        sb.append(", receive_address_id=").append(receive_address_id);
        sb.append("]");
        return sb.toString();
    }
}